<?php

class SiteModel extends CommonModel
{
    public function getSiteInfo($id)
    {
        $where = array('id' => $id, 'status' => 1);
        return $this->where($where)->find();
    }

}
